package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.User;

import java.util.List;

/**
 * @ProjectName: health_parent
 * @Package: com.itheima.service
 * @ClassName: UsermanagerService
 * @Author: Torifu
 * @Date: 2019/7/5 11:57
 * @Description:
 * @Version: 1.0
 */
public interface UsermanagerService {

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void add(User user, Integer[] roleIds);

    void deleteById(Integer id);

    User findUserById(Integer id);

    List<Integer> findRoleIdsByUserId(Integer id);

    void edit(User user, Integer[] roleIds);
}
